Optimal. Leaf size=143 \[ -\frac {3387 \sqrt {2 x^2-x+3} x^2}{1024}-\frac {372783 \sqrt {2 x^2-x+3} x}{8192}-\frac {203373 \sqrt {2 x^2-x+3}}{32768}+\frac {125}{12} \sqrt {2 x^2-x+3} x^5+\frac {1355}{48} \sqrt {2 x^2-x+3} x^4+\frac {8185}{256} \sqrt {2 x^2-x+3} x^3-\frac {9267707 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{65536 \sqrt {2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.17, antiderivative size = 143, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {1661, 640, 619, 215} \[ \frac {125}{12} \sqrt {2 x^2-x+3} x^5+\frac {1355}{48} \sqrt {2 x^2-x+3} x^4+\frac {8185}{256} \sqrt {2 x^2-x+3} x^3-\frac {3387 \sqrt {2 x^2-x+3} x^2}{1024}-\frac {372783 \sqrt {2 x^2-x+3} x}{8192}-\frac {203373 \sqrt {2 x^2-x+3}}{32768}-\frac {9267707 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{65536 \sqrt {2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 215
Rule 619
Rule 640
Rule 1661
Rubi steps
\begin {align*} \int \frac {\left (2+3 x+5 x^2\right )^3}{\sqrt {3-x+2 x^2}} \, dx &=\frac {125}{12} x^5 \sqrt {3-x+2 x^2}+\frac {1}{12} \int \frac {96+432 x+1368 x^2+2484 x^3+1545 x^4+\frac {6775 x^5}{2}}{\sqrt {3-x+2 x^2}} \, dx\\ &=\frac {1355}{48} x^4 \sqrt {3-x+2 x^2}+\frac {125}{12} x^5 \sqrt {3-x+2 x^2}+\frac {1}{120} \int \frac {960+4320 x+13680 x^2-15810 x^3+\frac {122775 x^4}{4}}{\sqrt {3-x+2 x^2}} \, dx\\ &=\frac {8185}{256} x^3 \sqrt {3-x+2 x^2}+\frac {1355}{48} x^4 \sqrt {3-x+2 x^2}+\frac {125}{12} x^5 \sqrt {3-x+2 x^2}+\frac {1}{960} \int \frac {7680+34560 x-\frac {667215 x^2}{4}-\frac {152415 x^3}{8}}{\sqrt {3-x+2 x^2}} \, dx\\ &=-\frac {3387 x^2 \sqrt {3-x+2 x^2}}{1024}+\frac {8185}{256} x^3 \sqrt {3-x+2 x^2}+\frac {1355}{48} x^4 \sqrt {3-x+2 x^2}+\frac {125}{12} x^5 \sqrt {3-x+2 x^2}+\frac {\int \frac {46080+\frac {1286685 x}{4}-\frac {16775235 x^2}{16}}{\sqrt {3-x+2 x^2}} \, dx}{5760}\\ &=-\frac {372783 x \sqrt {3-x+2 x^2}}{8192}-\frac {3387 x^2 \sqrt {3-x+2 x^2}}{1024}+\frac {8185}{256} x^3 \sqrt {3-x+2 x^2}+\frac {1355}{48} x^4 \sqrt {3-x+2 x^2}+\frac {125}{12} x^5 \sqrt {3-x+2 x^2}+\frac {\int \frac {\frac {53274825}{16}-\frac {9151785 x}{32}}{\sqrt {3-x+2 x^2}} \, dx}{23040}\\ &=-\frac {203373 \sqrt {3-x+2 x^2}}{32768}-\frac {372783 x \sqrt {3-x+2 x^2}}{8192}-\frac {3387 x^2 \sqrt {3-x+2 x^2}}{1024}+\frac {8185}{256} x^3 \sqrt {3-x+2 x^2}+\frac {1355}{48} x^4 \sqrt {3-x+2 x^2}+\frac {125}{12} x^5 \sqrt {3-x+2 x^2}+\frac {9267707 \int \frac {1}{\sqrt {3-x+2 x^2}} \, dx}{65536}\\ &=-\frac {203373 \sqrt {3-x+2 x^2}}{32768}-\frac {372783 x \sqrt {3-x+2 x^2}}{8192}-\frac {3387 x^2 \sqrt {3-x+2 x^2}}{1024}+\frac {8185}{256} x^3 \sqrt {3-x+2 x^2}+\frac {1355}{48} x^4 \sqrt {3-x+2 x^2}+\frac {125}{12} x^5 \sqrt {3-x+2 x^2}+\frac {9267707 \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{23}}} \, dx,x,-1+4 x\right )}{65536 \sqrt {46}}\\ &=-\frac {203373 \sqrt {3-x+2 x^2}}{32768}-\frac {372783 x \sqrt {3-x+2 x^2}}{8192}-\frac {3387 x^2 \sqrt {3-x+2 x^2}}{1024}+\frac {8185}{256} x^3 \sqrt {3-x+2 x^2}+\frac {1355}{48} x^4 \sqrt {3-x+2 x^2}+\frac {125}{12} x^5 \sqrt {3-x+2 x^2}-\frac {9267707 \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{65536 \sqrt {2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 65, normalized size = 0.45 \[ \frac {4 \sqrt {2 x^2-x+3} \left (1024000 x^5+2775040 x^4+3143040 x^3-325152 x^2-4473396 x-610119\right )-27803121 \sqrt {2} \sinh ^{-1}\left (\frac {1-4 x}{\sqrt {23}}\right )}{393216} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.68, size = 78, normalized size = 0.55 \[ \frac {1}{98304} \, {\left (1024000 \, x^{5} + 2775040 \, x^{4} + 3143040 \, x^{3} - 325152 \, x^{2} - 4473396 \, x - 610119\right )} \sqrt {2 \, x^{2} - x + 3} + \frac {9267707}{262144} \, \sqrt {2} \log \left (-4 \, \sqrt {2} \sqrt {2 \, x^{2} - x + 3} {\left (4 \, x - 1\right )} - 32 \, x^{2} + 16 \, x - 25\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.52, size = 73, normalized size = 0.51 \[ \frac {1}{98304} \, {\left (4 \, {\left (8 \, {\left (20 \, {\left (16 \, {\left (100 \, x + 271\right )} x + 4911\right )} x - 10161\right )} x - 1118349\right )} x - 610119\right )} \sqrt {2 \, x^{2} - x + 3} - \frac {9267707}{131072} \, \sqrt {2} \log \left (-2 \, \sqrt {2} {\left (\sqrt {2} x - \sqrt {2 \, x^{2} - x + 3}\right )} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 113, normalized size = 0.79 \[ \frac {125 \sqrt {2 x^{2}-x +3}\, x^{5}}{12}+\frac {1355 \sqrt {2 x^{2}-x +3}\, x^{4}}{48}+\frac {8185 \sqrt {2 x^{2}-x +3}\, x^{3}}{256}-\frac {3387 \sqrt {2 x^{2}-x +3}\, x^{2}}{1024}-\frac {372783 \sqrt {2 x^{2}-x +3}\, x}{8192}+\frac {9267707 \sqrt {2}\, \arcsinh \left (\frac {4 \sqrt {23}\, \left (x -\frac {1}{4}\right )}{23}\right )}{131072}-\frac {203373 \sqrt {2 x^{2}-x +3}}{32768} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.98, size = 114, normalized size = 0.80 \[ \frac {125}{12} \, \sqrt {2 \, x^{2} - x + 3} x^{5} + \frac {1355}{48} \, \sqrt {2 \, x^{2} - x + 3} x^{4} + \frac {8185}{256} \, \sqrt {2 \, x^{2} - x + 3} x^{3} - \frac {3387}{1024} \, \sqrt {2 \, x^{2} - x + 3} x^{2} - \frac {372783}{8192} \, \sqrt {2 \, x^{2} - x + 3} x + \frac {9267707}{131072} \, \sqrt {2} \operatorname {arsinh}\left (\frac {1}{23} \, \sqrt {23} {\left (4 \, x - 1\right )}\right ) - \frac {203373}{32768} \, \sqrt {2 \, x^{2} - x + 3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {{\left (5\,x^2+3\,x+2\right )}^3}{\sqrt {2\,x^2-x+3}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (5 x^{2} + 3 x + 2\right )^{3}}{\sqrt {2 x^{2} - x + 3}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________